//
//  BKLShadowView.swift
//  
//
//  Created by gePengFei on 2018/7/28.
//  Copyright © 2018年 Test.Ger.com. All rights reserved.
//

import UIKit

class BKLShadowView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        baseConfig()
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
    }
    
    
    fileprivate func baseConfig(){
        layer.shadowOpacity = 0.1
        layer.cornerRadius = 4.0
        layer.shadowColor = UIColor.black.cgColor
        layer.shadowOffset = CGSize(width: 0, height: 2)
        self.clipsToBounds = false
        
        backgroundColor = UIColor.white
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
